home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 6
/
FM Towns Free Software Collection 6.iso
/
t_os
/
qa
/
src
/
cd.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-07-08
|
1KB
|
75 lines
// CDライブラリ用ヘッダファイル ///// Tab Size : 4 /////
//
// cd.h v1.0 L20
//
// (C)K.Konishi 07-Oct-92
//
#define DSK 0
#define TRK 1
#ifdef LIB
struct TIMEADRS dsktime;
struct TIMEADRS trktime[99];
struct TIMEADRS statime;
struct TIMEADRS endtime;
int driveno = 0x00;
int dsktype = 0;
int statrk = 0;
int endtrk = 0;
int status = 0;
int nowNo = 0;
struct TIMEADRS nowdsktime;
struct TIMEADRS nowtrktime;
short memoryShift = -1; // shift保存用ダミー
// int memoryNowNo = -1; // nowNo保存用ダミー
char nowPlayTimeDisplay = TRK;
int memoryNowPlayNo = 0; // nowNo保存用ダミー
#endif
#ifdef MAIN
extern struct TIMEADRS dsktime;
extern /*struct TIMEADRS */trktime;
extern struct TIMEADRS statime;
extern struct TIMEADRS endtime;
extern int driveno;
extern int dsktype;
extern int statrk;
extern int endtrk;
extern int status;
extern int nowNo;
extern struct TIMEADRS nowdsktime;
extern struct TIMEADRS nowtrktime;
extern short memoryShift; // shift保存用ダミー
// extern int memoryNowNo; // nowNo保存用ダミー
extern char nowPlayTimeDisplay;
extern int memoryNowPlayNo; // nowNo保存用ダミー
#endif
int CDopen(void);
void CDplay(void);
void CDplayNo(int CDno);
void CDnext(void);
void CDback(void);
void CDstop(void);
void CDpause(void);
void CDinit(void);
void CDplayTime(struct TIMEADRS* playTime);